Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidToken = errors.New("invalid token")
Functions ¶
This section is empty.
Types ¶
type Server ¶
func (*Server) CreateNote ¶
func (*Server) DeleteNote ¶
func (*Server) UpdateNote ¶
func (srv *Server) UpdateNote(ctx context.Context, req *api.DraftMultipart, params api.UpdateNoteParams) error
type StaticToken ¶
type StaticToken struct {
Token string
}
func (*StaticToken) HandleHeaderAuth ¶
func (st *StaticToken) HandleHeaderAuth(ctx context.Context, _ string, t api.HeaderAuth) (context.Context, error)
Click to show internal directories.
Click to hide internal directories.