Documentation
¶
Index ¶
- Variables
- func CopyHeader(dst http.Header, src http.Header)
- func DigInvoke(function interface{}, opts ...dig.InvokeOption) error
- func DigProvide(constructor interface{}, opts ...dig.ProvideOption) error
- func RequestCBOR(ctx context.Context, cli *http.Client, method, api string, input, output any) error
- func RequestJSON(ctx context.Context, cli *http.Client, method, api string, input, output any) error
- func StringSliceHas(sl []string, v string) bool
- type ContextHTTPHeader
- type ID
- type UUID
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func DigProvide ¶
func DigProvide(constructor interface{}, opts ...dig.ProvideOption) error
DigProvide ...
func RequestCBOR ¶
func RequestJSON ¶
Types ¶
type ContextHTTPHeader ¶
type ID ¶
var ANON ID = mustParseID("000000000000000anon0") // anonymous user
var JARVIS ID = mustParseID("0000000000000jarvis0") // system user
func (ID) MarshalCBOR ¶
func (ID) MarshalJSON ¶
func (*ID) UnmarshalCBOR ¶
func (*ID) UnmarshalJSON ¶
type UUID ¶
func (UUID) MarshalCBOR ¶
func (UUID) MarshalText ¶
func (*UUID) UnmarshalCBOR ¶
func (*UUID) UnmarshalText ¶
Click to show internal directories.
Click to hide internal directories.