refactor: move http api to a new transport layer
This commit is contained in:
parent
476c4b056f
commit
0448f66ab2
41 changed files with 822 additions and 390 deletions
5
internal/transport/caller.go
Normal file
5
internal/transport/caller.go
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
package transport
|
||||
|
||||
type Caller interface {
|
||||
Call(host string, path string, data any, out any) error
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue