Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶
type Option func(o *options)
Option defines an option that can be set on the token server
func WithErrorListener ¶
func WithErrorListener(value util.ErrorListener) Option
WithErrorListener specifies that the given ErrorListener should be passed errors that result from jdoc requests
func WithServer ¶
func WithServer() Option
WithServer specifies that an IPC server should be started so other processes can request jdocs from this process
func WithSocketNameSuffix ¶
WithSocketNameSuffix specifies the (optional) suffix of the socket name
func WithTokener ¶
WithTokener specifies that the given token.Accessor should be used to obtain authorization credentials
Click to show internal directories.
Click to hide internal directories.